<?php
namespace app\admin\controller;
use think\Db;
class Replayfocus extends Base
{	
    public function edit($id=1){
        if(is_post()){
            $d = input();
            Db::name('wx_replay_focus')->update($d);
            com_check(['suc'=>['msg'=>'编辑成功!', 'js_action'=>'alert']]);
        }
        $data = [
            'info' => Db::name('wx_replay_focus')->find($id),
        ];
        return view('', $data);
    }
}